package com.fyl.service;

import com.fyl.entity.Cart;
import com.baomidou.mybatisplus.extension.service.IService;
import com.fyl.vo.CartVO;
import org.springframework.web.bind.annotation.PathVariable;

import java.util.List;

/**
 * <p>
 * 服务类
 * </p>
 *
 * @author 馮永龍
 * @since 2020-11-27
 */
public interface CartService extends IService<Cart> {

    List<CartVO> findAllVO(Integer userId);

    boolean updateCart(String type, Integer id, Integer productId, Integer quantity, Float cost);
}
